package com.whfc.fuum.service;

import com.whfc.common.exception.BizException;
import com.whfc.fuum.dto.SysUserCodeDTO;

/**
 * @author qzexing
 * @version 1.0
 * @date 2020-12-11 16:14
 */
public interface SysUserCodeService {


    /**
     * 新增用户 code
     *
     * @param sysUserCodeDTO 用户code
     * @throws BizException 业务异常
     */
    void addUserCode(SysUserCodeDTO sysUserCodeDTO) throws BizException;

    /**
     * 根据code查找用户code详情
     *
     * @param code code
     * @return 用户code详情
     * @throws BizException 业务异常
     */
    SysUserCodeDTO selectByCode(String code) throws BizException;

}
